import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false;

new Vue({
  render: h => h(App),
  //任意组件通信,在vue的原型对象上,放一个$bus,保存vm
  beforeCreate(){
    Vue.prototype.$bus=this
  }
}).$mount('#app')